package com.qlshouyu.gateway.client.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class AppAuth {

    /**
     * 有效结束时间，时间戳
     */
    private Long endTime;

    /**
     * 业务限流
     */
    private Long limitFlow;

    /**
     * 限流单位[天/时/分]
     */
    private Integer unit;

    /**
     * 服务id
     */
    private List<String> apiServiceIds;
    /**
     * 服务id
     */
    private String apiServiceId;

    /**
     * 服务编码
     */
    private String apiServiceCode;

    /**
     * 服务名称
     */
    private String apiServiceName;

    /**
     * 分组
     */
    private String authGroup;

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getLimitFlow() {
        return limitFlow;
    }

    public void setLimitFlow(Long limitFlow) {
        this.limitFlow = limitFlow;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public List<String> getApiServiceIds() {
        return apiServiceIds;
    }

    public void setApiServiceIds(List<String> apiServiceIds) {
        this.apiServiceIds = apiServiceIds;
    }

    public String getApiServiceId() {
        return apiServiceId;
    }

    public void setApiServiceId(String apiServiceId) {
        this.apiServiceId = apiServiceId;
    }

    public String getApiServiceCode() {
        return apiServiceCode;
    }

    public void setApiServiceCode(String apiServiceCode) {
        this.apiServiceCode = apiServiceCode;
    }

    public String getApiServiceName() {
        return apiServiceName;
    }

    public void setApiServiceName(String apiServiceName) {
        this.apiServiceName = apiServiceName;
    }

    public String getAuthGroup() {
        return authGroup;
    }

    public void setAuthGroup(String authGroup) {
        this.authGroup = authGroup;
    }
}
